package com.second.app.thread.synchroized.A;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class Thread1 extends Thread{
     private Task task;
     public Thread1(Task task){
         this.task = task;
     }

    @Override
    public void run() {
        super.run();
        task.doLongTimeTask();
    }
}
